package com.example.character.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色技能表
 * </p>
 *
 * @author crp
 * @since 2025-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("character_skills")
public class CharacterSkills implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 技能ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 角色ID
     */
    @TableField("character_id")
    private Long characterId;

    /**
     * 技能名称
     */
    @TableField("skill_name")
    private String skillName;

    /**
     * 技能描述
     */
    @TableField("skill_description")
    private String skillDescription;

    /**
     * 技能类型：emotion-情感，therapy-治疗，guidance-指导
     */
    @TableField("skill_type")
    private String skillType;

    /**
     * 是否启用
     */
    @TableField("is_active")
    private Boolean isActive;

    /**
     * 创建时间
     */
    @TableField("created_at")
    private LocalDateTime createdAt;


}
